package site.xuxingcan;

import java.io.IOException;
import java.net.Socket;

public class TestMain {

    public static void main(String[] args) throws IOException {
        // write your code here
        Socket socket = new Socket("127.0.0.1", 8191);
        SocketHelper socketHelper = new SocketHelper(socket);
        while (true) {
            System.out.println(socketHelper.readLine());
        }
    }
}
